package com.chinasofti.zbestadmin.dao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户地址表
 * </p>
 *
 * @author zbestadmin
 * @since 2019-05-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UserAddr implements Serializable {

private static final long serialVersionUID=1L;

    /**
     * 自增主键ID
     */
    @TableId(value = "user_addr_id", type = IdType.AUTO)
    private Integer userAddrId;

    /**
     * user表的自增ID
     */
    private Integer userId;

    /**
     * 邮编
     */
    private Integer zip;

    /**
     * 地址
     */
    private String address;

    /**
     * 是否默认
     */
    private Integer isDefault;

    /**
     * 最后修改时间
     */
    private LocalDateTime modifiedTime;


}
